package com.ruoyi.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.order.domain.GoodsOrderComboInfo;

import java.util.List;

/**
 * 卖品订单套餐明细信息Service接口
 *
 * @author HHAOYU
 * @date 2021-01-16
 */
public interface IGoodsOrderComboInfoService  extends IService<GoodsOrderComboInfo> {

    /**
     * 查询卖品订单套餐明细信息
     *
     * @param id 卖品订单套餐明细信息ID
     * @return 卖品订单套餐明细信息
     */
    public GoodsOrderComboInfo selectGoodsOrderComboInfoById(Long id);

    /**
     * 查询卖品订单套餐明细信息列表
     *
     * @param goodsOrderComboInfo 卖品订单套餐明细信息
     * @return 卖品订单套餐明细信息集合
     */
    public List<GoodsOrderComboInfo> selectGoodsOrderComboInfoList(GoodsOrderComboInfo goodsOrderComboInfo);

    /**
     * 新增卖品订单套餐明细信息
     *
     * @param goodsOrderComboInfo 卖品订单套餐明细信息
     * @return 结果
     */
    public int insertGoodsOrderComboInfo(GoodsOrderComboInfo goodsOrderComboInfo);

    /**
     * 修改卖品订单套餐明细信息
     *
     * @param goodsOrderComboInfo 卖品订单套餐明细信息
     * @return 结果
     */
    public int updateGoodsOrderComboInfo(GoodsOrderComboInfo goodsOrderComboInfo);

    /**
     * 批量删除卖品订单套餐明细信息
     *
     * @param ids 需要删除的卖品订单套餐明细信息ID
     * @return 结果
     */
    public int deleteGoodsOrderComboInfoByIds(Long[] ids);

    /**
     * 删除卖品订单套餐明细信息信息
     *
     * @param id 卖品订单套餐明细信息ID
     * @return 结果
     */
    public int deleteGoodsOrderComboInfoById(Long id);
}
